<template>
<div id="Background">
     <div class="BackColor" v-if="Subject.name!='Day'"></div>
     <img :src="require('@/assets/default/background/'+BackImage.src)"  v-if="BackImage.type==1">
     <img  :src="BackImage.src"  v-else/>
</div>
</template>
<script>
import {mapState,mapMutations} from 'vuex'
  export default 
  {
     name :'', 
     computed:{
        ...mapState('Setting',['BackImage','Subject']),
     },

  }
</script>
<style scoped lang='less'>
#Background{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    z-index: -1;
}

img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
</style>